<style type='text/css'>
.statictics {
    margin-bottom: 10px;
}

.name-static{
    font-weight: bold;
    color: brown;
}

.content1 {
    padding-left: 20px;
}


</style>

<?php if(!empty($this->photos)): ?>
<?php foreach($this->photos as $object): ?>
<div class='statictics'>
	<div class='name-static'><?php echo $object->name; ?></div>
	<div class='content1'>
		<!-- <div class='sta-image'>
			<img src='img/thumb/<?php echo $object->id; ?>.jpeg' width='70px' height='70px' />
		</div>
		 -->
		<div class='sta-sta'>
			<span>Number of view: </span><span><?php echo $object->numView; ?></span><br />
			<span>Number of favorite: </span><span><?php echo $object->numLike; ?></span>
		</div>
	</div>
</div>
<?php endforeach; ?>
<? endif; ?>